package com.phantom.demo;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by pphh on 2022/8/4.
 */
@RestController
@RequestMapping("/api")
public class DemoController {

    @PostMapping("/hello")
    public String sayHello() {
        return "hello,world";
    }

}
